public class ZhaiZhiJie03
{
    public static void main(String[] args) {
        String str1 = "30";
        int x = Integer.parseInt(str1);
        float f = Float.parseFloat(str1);
        System.out.println(x);
        System.out.println(f);
    }
}
